//
//  DMMessageModel.h
//  BaseAPP
//
//  Created by Evisu on 2017/8/8.
//  Copyright © 2017年 evisum. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "EMMessage.h"

typedef enum{

    MessageDirectionReceive = 0,    //接收
    MessageDirectionSend,           //发送
}MessageDirection;

typedef enum{
    
    MessageTypeText = 0,        //文字消息
    MessageTypeImage,           //图片消息
}MessageType;

@interface DMMessageModel : NSObject

@property (nonatomic, strong)EMMessage *message;


/**
 消息方向
 */
@property (nonatomic, assign)MessageDirection direction;

/**
 消息类型
 */
@property (nonatomic, assign)int type;

/**
 文字消息内容
 */
@property (nonatomic, copy)NSString *text;

/**
 拇指图尺寸
 */
@property (nonatomic, assign)CGSize thumbnailSize;

/**
 拇指图本地路径
 */
@property (nonatomic, copy) NSString *thumbnailLocalPath;


/**
 拇指图服务器路径
 */
@property (nonatomic, copy) NSString *thumbnailRemotePath;


@end
